<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@include file="/gymjsp/common/head.jsp"%>

<div class="right">
    <div class="location">
        <strong>你现在所在的位置是:</strong>
        <span>人事管理 >> 员工添加页面</span>
    </div>
    <div class="providerAdd">
        <form id="personnelForm" name="personnelForm" method="post" action="${pageContext.request.contextPath }/gymjsp/personnel.do">
            <input type="hidden" name="method" value="add">
            <!--div的class 为error是验证错误，ok是验证成功-->
            <div>
                <label for="personnelname">员工姓名：</label>
                <!-- 列出所有的角色分类 -->
                <input type="text" name="personnelname" id="personnelname" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="gender">性别：</label>
                <select  name="gender" id="gender">
                    <option  value="男" selected="selected">男</option>
                    <option  value="女">女</option>
                </select>
                <font color="red"></font>
            </div>
            <div>
                <label for="age">年龄：</label>
                <input type="number" name="age" id="age" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="phone">手机号：</label>
                <input type="text" name="phone" id="phone" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="address">住址：</label>
                <input type="text" name="address" id="address" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="position">职位：</label>
                <input type="text" name="position" id="position" value="">
                <font color="red"></font>
            </div>
            <div class="salaryAddBtn">
                <input type="button" name="add" id="add" value="保存" >
                <input type="button" id="back" name="back" value="返回" >
            </div>
        </form>
    </div>
</div>
</section>
<%@include file="/gymjsp/common/foot.jsp" %>
<script type="text/javascript"  src="${pageContext.request.contextPath }/static/js/staffadd.js"></script>
